package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Dept;

import java.util.List;

/**
 * @Author: chouh
 * @DateTime: 2025/9/29 10:31
 * @Description:
 */

public interface DeptService {

    PageResult<Dept> page(String name, Integer status, Integer page, Integer pageSize);

    List<Dept> queryAllDepts();

    Dept queryDeptById(Integer id);

    void addDept(Dept dept);

    void deleteDept(Integer id);

    void updateDept(Dept dept);
}
